#include<stdio.h> 
int main()
{
        float a,b,c,max;
        printf("请输入三个数;");
        scanf("%f%f%f",&a,&b,&c);
        if(a>b)
	{
		if(a>c)
		max = a;
		if(a<c)
		max = c;
	}
	else
	{
		if(b>c)
                max = b;
                if(b<c)
                max = c;
	}
                
        printf("最大值为%f\n",max);
        return 0;
}

